from fastmcp import FastMCP

mcp = FastMCP("Server")


@mcp.tool()
async def add(num1: float, num2: float) -> float:
    return num1 + num2


@mcp.tool()
async def sub(num1: float, num2: float) -> float:
    return num1 - num2


if __name__ == "__main__":
    mcp.run(transport="stdio")
